﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;

namespace UzmanlaKonus.Class
{
    public class DBConnect
    {
        SqlConnection con = new SqlConnection("Server=localhost;Database=UzmanlaKonus;Trusted_Connection=True;");

        public void DBConnectOpen() 
        {            
            con.Open();
            Console.WriteLine("Login");
        }
        public void DBConnectClose() 
        {
            con.Close();
        }
    }
}